package com.zy.datareceiver.binsess.status.entity;


import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "object_monitoring")
public class ObjectMonitoring {

  @Id
  private Integer id;
  @Column( name = "monitoring_object")
  private String monitoringObject;
  @Column( name = "monitoring_type")
  private Integer monitoringType;//对象类型 0为设备，1 为程序
  private Integer recover;//发生故障或者故障恢复，0表示发生故障，1表示已恢复
  private Integer status; //0表示正常，1表示设备断开，2表示程序故障
  @Column( name = "operate_time")
  private String operateTime;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getMonitoringObject() {
    return monitoringObject;
  }

  public void setMonitoringObject(String monitoringObject) {
    this.monitoringObject = monitoringObject;
  }

  public Integer getMonitoringType() {
    return monitoringType;
  }

  public void setMonitoringType(Integer monitoringType) {
    this.monitoringType = monitoringType;
  }

  public Integer getRecover() {
    return recover;
  }

  public void setRecover(Integer recover) {
    this.recover = recover;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public String getOperateTime() {
    return operateTime;
  }

  public void setOperateTime(String operateTime) {
    this.operateTime = operateTime;
  }
}
